package com.dongdongshop.shiro;

import com.dongdongshop.em.TokenEnum;
import lombok.Data;
import org.apache.shiro.authc.UsernamePasswordToken;

@Data
public class LoginToken extends UsernamePasswordToken{
    private TokenEnum tokenEnum;
    public LoginToken(String username, String password, TokenEnum tokenEnum) {
        super(username, password);
        this.tokenEnum = tokenEnum;
    }

}
